/*
 * KeyCode.h
 *
 *  Created on: 15 Nov 2013
 *      Author: axel
 */

#ifndef KEYCODE_H_
#define KEYCODE_H_

#include <map>
#include "StateMachine.h"

//creating keycode:
/* first int for telling if it's a menu or game (1=game, 2=menu, 3=paused, 4= game over)
 * next 2 int specifies which world or menu it is
 * next 3 is futher specification (which map, specific menu section, whatever)
 * next 3 specifi the room
 *
 * private static final long serialVersionUID = 400000000;
*/

class KeyCode
{
public:
	std::map<long, StateMachine*> keycodes;
	std::map<long, int> specialcodes;

	KeyCode(void);
	~KeyCode(void);

	void createSpecialCodes();
	void createOriginalList();
	std::map<long, StateMachine*> getHashMap();
	std::map<long, int> getSpecial();
};

#endif /* KEYCODE_H_ */
